Skip to main content

Menu Price file Import

Introduction

This will import vehicle file to Cloud SQL for PostgreSQL

Fields

Column PositionDescriptionDatatypeValidationMax lengthMandatoryExample
AIGNORE
BIGNORE
CVehicle IdNumberNumbers (0-9)5Y1
DRepair short descStringA-Z characters20YBrakes
ERepair desc 1StringA-Z and 0-9 & All Special Characters100YRenew Front Brake Pads
FRepair desc 2StringA-Z and 0-9 & All Special Characters100YStandard
GLabour TimeNumberupto 2 decimals4Y0.8
HPart numberStringA-Z and 0-9 & All Special Characters 50Y1678168380
IPart NameStringA-Z and 0-9 & All Special Characters 100YBrake Pads
JPart priceNumberupto 2 decimals7Y78.3
KPart/fluid qtyNumberupto 2 decimals5Y1
LIGNORE
MAdditional notes for partsStringA-Z and 0-9 & All Special Characters300NSome notes

Importing a file

Preparation

  1. Upload the file with filename as menu_price.csv into fnp-imports/modulus storage bucket

Validation

  1. Go to Cloud Scheduler
  2. Run Modulus_menu_price_validation job (job name could be different on other env)

Importing

  1. Go to Cloud Scheduler
  2. Run Modulus_menu_price_import job (job name could be different on other env)

Testing

  1. Data will be inserted to Cloud SQL for PostgreSQL under fpn database in table modulus_menu_price.
Status: Accepted
Category: Protected
Authored By: Gladson on Jan 5, 2024
Revisions